﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using SoucreGame.GLO;
namespace SoucreGame.DTO
{
    class CInfoTruPhongThu: CInfoNhanVat
    {
        public CInfoTruPhongThu(ContentManager conten,GameTime gameTime,SpriteBatch sp):base(conten,gameTime,sp)
        {
            LoadDuLieuNhanVat();
        }
        public CInfoTruPhongThu():base()
        {
            LoadDuLieuNhanVat();
        }
        private void LoadDuLieuNhanVat()
        {
            this.Ten = "Tru Phong Thu";
            this.Mau = 300;
            this.TocDoTanCong = 100;
            this.ToaDoHienTai = new Vector2(600, 200);
            this.PhamViTC = 6;
            this.SucTanCong = 6;
            this.SucPhongThu = 3;
            this.TrangThai = Trangthai.song;
            this.SttAnhBatDau = 1;
            this.SoLuongAnhChet = 20;
            this.SoLuongAnhTanCong = 16;
            this.ChuoiChet = "chet";
            if (this.Content != null)
            {
                this.ViTriAnh = Content.Load<Dictionary<string, Rectangle>>("Tower//THAP PHONG THU//THAP_PHONG_THU");
                this.AnhNhanVat = Content.Load<Texture2D>("Tower//THAP PHONG THU//THAP PHONG THU");
            }
        }
    }
}
